package com.hmall.api.config;

import com.hmall.api.fallback.ItemClientFallBack;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
@Slf4j
public class FallBackClientConfig {
    @Bean
    public ItemClientFallBack itemClientFallBack(){
        log.info("这是Item服务出现异常的异常处理类");
        return new ItemClientFallBack();
    }
}
